home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Hyper / Ap-Az / AstroStack1.1.cpt / AstroStack 1.1 / card_9550.txt < prev    next >
Encoding:
Text File  |  1988-04-24  |  10.8 KB  |  383 lines

  1. -- card: 9550 from stack: in.1
  2. -- bmap block id: 6808
  3. -- flags: 0000
  4. -- background id: 7789
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   hide card field id 13
  9.   hide card field id 18
  10.   hide card field id 20
  11. end openCard
  12.  
  13.  
  14.  
  15. -- part 8 (field)
  16. -- low flags: 01
  17. -- high flags: 0001
  18. -- rect: left=476 top=88 right=291 bottom=502
  19. -- title width / last selected line: 0
  20. -- icon id / first selected line: 0 / 0
  21. -- text alignment: 0
  22. -- font id: 3
  23. -- text size: 12
  24. -- style flags: 0
  25. -- line height: 16
  26. -- part name: 
  27.  
  28.  
  29. -- part 12 (button)
  30. -- low flags: 00
  31. -- high flags: 0000
  32. -- rect: left=13 top=100 right=120 bottom=32
  33. -- title width / last selected line: 0
  34. -- icon id / first selected line: 0 / 0
  35. -- text alignment: 1
  36. -- font id: 0
  37. -- text size: 12
  38. -- style flags: 0
  39. -- line height: 16
  40. -- part name: New Button
  41. ----- HyperTalk script -----
  42. on mouseUp
  43.   put empty into card field id 13
  44.   put 0 into adjustment
  45.   choose select tool
  46.   put line 1 of card field id 15 of card id 2898 into angle
  47.   put 260 + round(111 * cos(angle * pi/180)) into xspot
  48.   put 180 + round(111 * sin(angle * pi/180)) into yspot
  49.   put xspot & "," & yspot into line 1 of card field id 13
  50.   drag from 480, 242 to 495, 255
  51.   drag from 488, 249 to xspot, yspot with optionKey
  52.  
  53.  
  54.   put line 2 of card field id 15 of card id 2898 into angle
  55.   put 260 + round(111 * cos(angle * pi/180)) into xspot
  56.   put 180 + round(111 * sin(angle * pi/180)) into yspot
  57.   if abs(xspot - item 1 of line 1 of card field id 13) < 7 and abs(yspot - item 2 of line 1 of card field id 13) < 7
  58.   then
  59.   add 7 to adjustment
  60.   put 260 + round((111 + adjustment) * cos(angle * pi/180)) into xspot
  61.   put 180 + round((111 + adjustment) * sin(angle * pi/180)) into yspot
  62. end if
  63. put 0 into adjustment
  64. put xspot & "," & yspot into line 2 of card field id 13
  65. drag from 483,223 to 492,237
  66. drag from 488, 230 to xspot, yspot with optionKey
  67.  
  68. put line 3 of card field id 15 of card id 2898 into angle
  69. put 260 + round(111 * cos(angle * pi/180)) into xspot
  70. put 180 + round(111 * sin(angle * pi/180)) into yspot
  71. repeat with x =  1 to 2
  72.   if abs(xspot - item 1 of line x of card field id 13) < 7 and abs(yspot - item 2 of line x of card field id 13) < 7
  73.   then
  74.   add 7 to adjustment
  75.   put 260 + round((111 + adjustment) * cos(angle * pi/180)) into xspot
  76.   put 180 + round((111 + adjustment) * sin(angle * pi/180)) into yspot
  77. end if
  78. end repeat
  79. put 0 into adjustment
  80. put xspot & "," & yspot into line 3 of card field id 13
  81. drag from 482,206 to 491,219
  82. drag from 487,213 to xspot, yspot with optionKey
  83.  
  84. put line 4 of card field id 15 of card id 2898 into angle
  85. put 260 + round(111 * cos(angle * pi/180)) into xspot
  86. put 180 + round(111 * sin(angle * pi/180)) into yspot
  87. repeat with x =  1 to 3
  88.   if abs(xspot - item 1 of line x of card field id 13) < 7 and abs(yspot - item 2 of line x of card field id 13) < 7
  89.   then
  90.   add 7 to adjustment
  91.   put 260 + round((111 + adjustment) * cos(angle * pi/180)) into xspot
  92.   put 180 + round((111 + adjustment) * sin(angle * pi/180)) into yspot
  93. end if
  94. end repeat
  95. put 0 into adjustment
  96. put xspot & "," & yspot into line 4 of card field id 13
  97. drag from 482,192 to 492,202
  98. drag from 487,197 to xspot, yspot with optionKey
  99.  
  100. put line 5 of card field id 15 of card id 2898 into angle
  101. put 260 + round(111 * cos(angle * pi/180)) into xspot
  102. put 180 + round(111 * sin(angle * pi/180)) into yspot
  103. repeat with x =  1 to 4
  104.   if abs(xspot - item 1 of line x of card field id 13) < 7 and abs(yspot - item 2 of line x of card field id 13) < 7
  105.   then
  106.   add 7 to adjustment
  107.   put 260 + round((111 + adjustment) * cos(angle * pi/180)) into xspot
  108.   put 180 + round((111 + adjustment) * sin(angle * pi/180)) into yspot
  109. end if
  110. end repeat
  111. put 0 into adjustment
  112. put xspot & "," & yspot into line 5 of card field id 13
  113. drag from 477,179 to 491,189
  114. drag from 484, 184 to xspot, yspot with optionKey
  115.  
  116. put line 6 of card field id 15 of card id 2898 into angle
  117. put 260 + round(111 * cos(angle * pi/180)) into xspot
  118. put 180 + round(111 * sin(angle * pi/180)) into yspot
  119. repeat with x =  1 to 5
  120.   if abs(xspot - item 1 of line x of card field id 13) < 7 and abs(yspot - item 2 of line x of card field id 13) < 7
  121.   then
  122.   add 7 to adjustment
  123.   put 260 + round((111 + adjustment) * cos(angle * pi/180)) into xspot
  124.   put 180 + round((111 + adjustment) * sin(angle * pi/180)) into yspot
  125. end if
  126. end repeat
  127. put 0 into adjustment
  128. put xspot & "," & yspot into line 6 of card field id 13
  129. drag from 482,163 to 492,175
  130. drag from 487,169 to xspot, yspot with optionKey
  131.  
  132. choose browse tool
  133. click at 22,129
  134.  
  135. end mouseUp
  136.  
  137.  
  138.  
  139. -- part 13 (field)
  140. -- low flags: 80
  141. -- high flags: 0007
  142. -- rect: left=7 top=69 right=87 bottom=139
  143. -- title width / last selected line: 0
  144. -- icon id / first selected line: 0 / 0
  145. -- text alignment: 0
  146. -- font id: 3
  147. -- text size: 9
  148. -- style flags: 0
  149. -- line height: 12
  150. -- part name: 
  151.  
  152.  
  153. -- part 14 (button)
  154. -- low flags: 00
  155. -- high flags: 0000
  156. -- rect: left=13 top=121 right=138 bottom=37
  157. -- title width / last selected line: 0
  158. -- icon id / first selected line: 0 / 0
  159. -- text alignment: 1
  160. -- font id: 0
  161. -- text size: 12
  162. -- style flags: 0
  163. -- line height: 16
  164. -- part name: New Button
  165. ----- HyperTalk script -----
  166. on mouseUp
  167.   put 0 into adjustment
  168.   choose select tool
  169.   put line 7 of card field id 15 of card id 2898 into angle
  170.   put 260 + round(111 * cos(angle * pi/180)) into xspot
  171.   put 180 + round(111 * sin(angle * pi/180)) into yspot
  172.   repeat with x =  1 to 6
  173.     if abs(xspot - item 1 of line x of card field id 13) < 7 and abs(yspot - item 2 of line x of card field id 13) < 7
  174.     then
  175.     add 7 to adjustment
  176.     put 260 + round((111 + adjustment) * cos(angle * pi/180)) into xspot
  177.     put 180 + round((111 + adjustment) * sin(angle * pi/180)) into yspot
  178.   end if
  179. end repeat
  180. put 0 into adjustment
  181. put xspot & "," & yspot into line 7 of card field id 13
  182. drag from 482,147 to 492,159
  183. drag from 487,153 to xspot, yspot with optionKey
  184.  
  185. put line 8 of card field id 15 of card id 2898 into angle
  186. put 260 + round(111 * cos(angle * pi/180)) into xspot
  187. put 180 + round(111 * sin(angle * pi/180)) into yspot
  188. repeat with x =  1 to 7
  189.   if abs(xspot - item 1 of line x of card field id 13) < 7 and abs(yspot - item 2 of line x of card field id 13) < 7
  190.   then
  191.   add 7 to adjustment
  192.   put 260 + round((111 + adjustment) * cos(angle * pi/180)) into xspot
  193.   put 180 + round((111 + adjustment) * sin(angle * pi/180)) into yspot
  194. end if
  195. end repeat
  196. put 0 into adjustment
  197. put xspot & "," & yspot into line 8 of card field id 13
  198. drag from 479,129 to 491,141
  199. drag from 485,135 to xspot, yspot with optionKey
  200.  
  201.  
  202. put line 9 of card field id 15 of card id 2898 into angle
  203. put 260 + round(111 * cos(angle * pi/180)) into xspot
  204. put 180 + round(111 * sin(angle * pi/180)) into yspot
  205. repeat with x =  1 to 8
  206.   if abs(xspot - item 1 of line x of card field id 13) < 7 and abs(yspot - item 2 of line x of card field id 13) < 7
  207.   then
  208.   add 7 to adjustment
  209.   put 260 + round((111 + adjustment) * cos(angle * pi/180)) into xspot
  210.   put 180 + round((111 + adjustment) * sin(angle * pi/180)) into yspot
  211. end if
  212. end repeat
  213. put 0 into adjustment
  214. put xspot & "," & yspot into line 9 of card field id 13
  215. drag from 479,113 to 490,124
  216. drag from 485,119 to xspot, yspot with optionKey
  217.  
  218.  
  219. put line 10 of card field id 15 of card id 2898 into angle
  220. put 260 + round(111 * cos(angle * pi/180)) into xspot
  221. put 180 + round(111 * sin(angle * pi/180)) into yspot
  222. repeat with x =  1 to 9
  223.   if abs(xspot - item 1 of line x of card field id 13) < 7 and abs(yspot - item 2 of line x of card field id 13) < 7
  224.   then
  225.   add 7 to adjustment
  226.   put 260 + round((111 + adjustment) * cos(angle * pi/180)) into xspot
  227.   put 180 + round((111 + adjustment) * sin(angle * pi/180)) into yspot
  228. end if
  229. end repeat
  230. put 0 into adjustment
  231. put xspot & "," & yspot into line 10 of card field id 13
  232. drag from 479,97 to 490,107
  233. drag from 485, 102 to xspot, yspot with optionKey
  234.  
  235.  
  236. put line 11 of card field id 15 of card id 2898 into angle
  237. put 260 + round(111 * cos(angle * pi/180)) into xspot
  238. put 180 + round(111 * sin(angle * pi/180)) into yspot
  239. repeat with x =  1 to 10
  240.   if abs(xspot - item 1 of line x of card field id 13) < 7 and abs(yspot - item 2 of line x of card field id 13) < 7
  241.   then
  242.   add 7 to adjustment
  243.   put 260 + round((111 + adjustment) * cos(angle * pi/180)) into xspot
  244.   put 180 + round((111 + adjustment) * sin(angle * pi/180)) into yspot
  245. end if
  246. end repeat
  247. put 0 into adjustment
  248. put xspot & "," & yspot into line 11 of card field id 13
  249. drag from 480,279 to 501, 288
  250. drag from 491,284 to xspot, yspot with optionKey
  251.  
  252.  
  253. put line 12 of card field id 15 of card id 2898 into angle
  254. put 260 + round(126 * cos(angle * pi/180)) into xspot
  255. put 180 + round(126 * sin(angle * pi/180)) into yspot
  256. drag from 479,264 to 496, 272
  257. drag from 488, 268 to xspot, yspot with optionKey
  258. choose browse tool
  259. end mouseUp
  260.  
  261.  
  262.  
  263. -- part 15 (field)
  264. -- low flags: 00
  265. -- high flags: 0000
  266. -- rect: left=2 top=12 right=31 bottom=202
  267. -- title width / last selected line: 0
  268. -- icon id / first selected line: 0 / 0
  269. -- text alignment: 1
  270. -- font id: 3
  271. -- text size: 12
  272. -- style flags: 256
  273. -- line height: 16
  274. -- part name: 
  275.  
  276.  
  277. -- part 16 (button)
  278. -- low flags: 00
  279. -- high flags: A003
  280. -- rect: left=380 top=316 right=338 bottom=480
  281. -- title width / last selected line: 0
  282. -- icon id / first selected line: 0 / 0
  283. -- text alignment: 1
  284. -- font id: 0
  285. -- text size: 12
  286. -- style flags: 0
  287. -- line height: 16
  288. -- part name: Continue
  289. ----- HyperTalk script -----
  290. on mouseUp
  291.   go to next card
  292. end mouseUp
  293.  
  294.  
  295.  
  296. -- part 17 (button)
  297. -- low flags: 00
  298. -- high flags: A003
  299. -- rect: left=380 top=292 right=314 bottom=480
  300. -- title width / last selected line: 0
  301. -- icon id / first selected line: 0 / 0
  302. -- text alignment: 1
  303. -- font id: 0
  304. -- text size: 12
  305. -- style flags: 0
  306. -- line height: 16
  307. -- part name: Print chart
  308. ----- HyperTalk script -----
  309. on mouseUp
  310.   open printing
  311.   set the lockscreen to true
  312.   show card field id 18
  313.   show card field id 20
  314.   print card id 9550
  315.   hide card field id 18
  316.   hide card field id 20
  317.   close printing
  318. end mouseUp
  319.  
  320.  
  321.  
  322.  
  323. -- part 19 (button)
  324. -- low flags: 00
  325. -- high flags: 0000
  326. -- rect: left=482 top=315 right=339 bottom=512
  327. -- title width / last selected line: 0
  328. -- icon id / first selected line: 11045 / 11045
  329. -- text alignment: 1
  330. -- font id: 0
  331. -- text size: 12
  332. -- style flags: 0
  333. -- line height: 16
  334. -- part name: Home
  335. ----- HyperTalk script -----
  336. on mouseUp
  337.   visual effect iris close
  338.   go home
  339. end mouseUp
  340.  
  341.  
  342.  
  343. -- part 18 (field)
  344. -- low flags: 80
  345. -- high flags: 0001
  346. -- rect: left=380 top=290 right=342 bottom=512
  347. -- title width / last selected line: 0
  348. -- icon id / first selected line: 0 / 0
  349. -- text alignment: 0
  350. -- font id: 3
  351. -- text size: 12
  352. -- style flags: 0
  353. -- line height: 16
  354. -- part name: 
  355.  
  356.  
  357. -- part 20 (field)
  358. -- low flags: 80
  359. -- high flags: 0001
  360. -- rect: left=435 top=258 right=289 bottom=475
  361. -- title width / last selected line: 0
  362. -- icon id / first selected line: 0 / 0
  363. -- text alignment: 0
  364. -- font id: 3
  365. -- text size: 12
  366. -- style flags: 0
  367. -- line height: 16
  368. -- part name: 
  369.  
  370.  
  371. -- part contents for card part 13
  372. ----- text -----
  373. 150,167
  374. 352,242
  375. 152,155
  376. 146,150
  377. 201,274
  378. 371,185
  379. 290,73
  380. 321,273
  381. 354,121
  382. 361,241
  383. 277,70